package com.colorfruit.admin.business.dao;

import com.colorfruit.admin.pojo.entity.PayBusinessOrderItem;
import com.colorfruit.admin.pojo.vo.payorder.PayOrderItemVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PayBusinessOrderItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PayBusinessOrderItem record);

    int insertSelective(PayBusinessOrderItem record);

    PayBusinessOrderItem selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PayBusinessOrderItem record);

    int updateByPrimaryKey(PayBusinessOrderItem record);

    List<PayOrderItemVo> selectOrderItemList(@Param("businessNo") String businessNo);

    List<PayBusinessOrderItem> selectHistoryShopCartList(@Param("userId") String userId,
                                                   @Param("productName") String productName);
}